Skip to content

Conversation

tcharding
Copy link
Member

We implement a bunch of traits for getting at the inner field. Also, the inner field is public. The into_inner and as_inner methods are just clutter - remove them.

Don't bother doing a deprecation cycle because this change (and crate) is so trivial.

We implement a bunch of traits for getting at the inner field. Also, the
inner field is public. The `into_inner` and `as_inner` methods are just
clutter - remove them.

Don't bother doing a deprecation cycle because this change (and crate)
is so trivial.
@tcharding tcharding merged commit 8499fa5 into rust-bitcoin:master Dec 29, 2024
11 checks passed
@tcharding tcharding deleted the 12-30-rm-methods branch December 29, 2024 20:40
@tcharding
Copy link
Member Author

tcharding commented Dec 29, 2024

cc @apoelstra just flagging for transparency - I was slack here.

EDIT: Typing that shamed me into doing it properly, all while you were sleeping (see #28).

@apoelstra
Copy link
Member

Yeah, if the inner field is public I think it's fine to drop these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants